QT -= gui

TEMPLATE = lib
DEFINES += SNMP_DEV_LIBRARY

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    agent_pp/agentpp_config_mib.cpp \
    agent_pp/agentpp_simulation_mib.cpp \
    agent_pp/avl_map.cpp \
    agent_pp/map.cpp \
    agent_pp/mib.cpp \
    agent_pp/mib_avl_map.cpp \
    agent_pp/mib_complex_entry.cpp \
    agent_pp/mib_context.cpp \
    agent_pp/mib_entry.cpp \
    agent_pp/mib_map.cpp \
    agent_pp/mib_policy.cpp \
    agent_pp/mib_proxy.cpp \
    agent_pp/notification_log_mib.cpp \
    agent_pp/notification_originator.cpp \
    agent_pp/proxy_forwarder.cpp \
    agent_pp/request.cpp \
    agent_pp/sim_mib.cpp \
    agent_pp/snmp_community_mib.cpp \
    agent_pp/snmp_counters.cpp \
    agent_pp/snmp_group.cpp \
    agent_pp/snmp_notification_mib.cpp \
    agent_pp/snmp_pp_ext.cpp \
    agent_pp/snmp_proxy_mib.cpp \
    agent_pp/snmp_request.cpp \
    agent_pp/snmp_target_mib.cpp \
    agent_pp/snmp_textual_conventions.cpp \
    agent_pp/system_group.cpp \
    agent_pp/threads.cpp \
    agent_pp/tools.cpp \
    agent_pp/v3_mib.cpp \
    agent_pp/vacm.cpp \
    libdes/cbc_enc.c \
    libdes/des_enc.c \
    libdes/ecb_enc.c \
    libdes/ede_enc.c \
    libdes/fcrypt.c \
    libdes/ncbc_enc.c \
    libdes/set_key.c \
    snmp_pp/IPv6Utility.cpp \
    snmp_pp/address.cpp \
    snmp_pp/asn1.cpp \
    snmp_pp/auth_priv.cpp \
    snmp_pp/counter.cpp \
    snmp_pp/ctr64.cpp \
    snmp_pp/eventlist.cpp \
    snmp_pp/eventlistholder.cpp \
    snmp_pp/gauge.cpp \
    snmp_pp/idea.cpp \
    snmp_pp/integer.cpp \
    snmp_pp/log.cpp \
    snmp_pp/md5c.cpp \
    snmp_pp/mp_v3.cpp \
    snmp_pp/msec.cpp \
    snmp_pp/msgqueue.cpp \
    snmp_pp/notifyqueue.cpp \
    snmp_pp/octet.cpp \
    snmp_pp/oid.cpp \
    snmp_pp/pdu.cpp \
    snmp_pp/reentrant.cpp \
    snmp_pp/sha.cpp \
    snmp_pp/snmpmsg.cpp \
    snmp_pp/target.cpp \
    snmp_pp/timetick.cpp \
    snmp_pp/userdefined.cpp \
    snmp_pp/usertimeout.cpp \
    snmp_pp/usm_v3.cpp \
    snmp_pp/uxsnmp.cpp \
    snmp_pp/v3.cpp \
    snmp_pp/vb.cpp

HEADERS += \
    agent_pp/List.h \
    agent_pp/WIN32DLL.h \
    agent_pp/agent++.h \
    agent_pp/agent++.h.in \
    agent_pp/agentpp_config_mib.h \
    agent_pp/agentpp_simulation_mib.h \
    agent_pp/avl_map.h \
    agent_pp/entry.h \
    agent_pp/map.h \
    agent_pp/mib.h \
    agent_pp/mib_avl_map.h \
    agent_pp/mib_complex_entry.h \
    agent_pp/mib_context.h \
    agent_pp/mib_entry.h \
    agent_pp/mib_map.h \
    agent_pp/mib_policy.h \
    agent_pp/mib_proxy.h \
    agent_pp/notification_log_mib.h \
    agent_pp/notification_originator.h \
    agent_pp/oidx_defs.h \
    agent_pp/oidx_ptr.h \
    agent_pp/proxy_forwarder.h \
    agent_pp/request.h \
    agent_pp/sim_mib.h \
    agent_pp/snmp_community_mib.h \
    agent_pp/snmp_counters.h \
    agent_pp/snmp_group.h \
    agent_pp/snmp_notification_mib.h \
    agent_pp/snmp_pp_ext.h \
    agent_pp/snmp_proxy_mib.h \
    agent_pp/snmp_request.h \
    agent_pp/snmp_target_mib.h \
    agent_pp/snmp_textual_conventions.h \
    agent_pp/system_group.h \
    agent_pp/threads.h \
    agent_pp/tools.h \
    agent_pp/v3_mib.h \
    agent_pp/vacm.h \
    des.h \
    libagent.h \
    libdes/des.h \
    libdes/des_locl.h \
    libdes/des_ver.h \
    libdes/podd.h \
    libdes/sk.h \
    libdes/spr.h \
    libsnmp.h \
    snmp_dev_global.h \
    snmp_dev.h \
    snmp_pp/IPv6Utility.h \
    snmp_pp/address.h \
    snmp_pp/asn1.h \
    snmp_pp/auth_priv.h \
    snmp_pp/collect.h \
    snmp_pp/config_snmp_pp.h \
    snmp_pp/config_snmp_pp.h.in \
    snmp_pp/counter.h \
    snmp_pp/ctr64.h \
    snmp_pp/eventlist.h \
    snmp_pp/eventlistholder.h \
    snmp_pp/gauge.h \
    snmp_pp/idea.h \
    snmp_pp/integer.h \
    snmp_pp/log.h \
    snmp_pp/md5.h \
    snmp_pp/mp_v3.h \
    snmp_pp/msec.h \
    snmp_pp/msgqueue.h \
    snmp_pp/notifyqueue.h \
    snmp_pp/octet.h \
    snmp_pp/oid.h \
    snmp_pp/oid_def.h \
    snmp_pp/pdu.h \
    snmp_pp/reentrant.h \
    snmp_pp/sha.h \
    snmp_pp/smi.h \
    snmp_pp/smival.h \
    snmp_pp/snmp_pp.h \
    snmp_pp/snmperrs.h \
    snmp_pp/snmpmsg.h \
    snmp_pp/target.h \
    snmp_pp/timetick.h \
    snmp_pp/userdefined.h \
    snmp_pp/usertimeout.h \
    snmp_pp/usm_v3.h \
    snmp_pp/uxsnmp.h \
    snmp_pp/v3.h \
    snmp_pp/vb.h

TRANSLATIONS += \
    snmp_dev_zh_CN.ts

# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target

 #LIBS += -lws2_32
